From 5128e6ab458062f3bc0a6afa92a1f0179b614fad Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Sun, 3 Mar 2024 14:11:44 -0600 Subject: [PATCH] call_alter_db() -> _call_alter_db(): name as internal-use only function --- src/pgwui_core/core.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pgwui_core/core.py b/src/pgwui_core/core.py index 206ecc2..d08e8e1 100644 --- a/src/pgwui_core/core.py +++ b/src/pgwui_core/core.py @@ -1446,7 +1446,7 @@ class DBConnector(object): self.uh = uh self._server_encoding = None - def call_alter_db(self, conn): + def _call_alter_db(self, conn): ''' Alter the contents of the db. @@ -1624,7 +1624,7 @@ class DBConnector(object): havecreds = False else: havecreds = True - errors = self.call_alter_db(func, conn) + errors = self._call_alter_db(func, conn) self.uh.session.update({'havecreds': havecreds}) return (errors, response) @@ -1729,7 +1729,7 @@ class NoTransactionEngine(DBConnector): ''' super(NoTransactionEngine, self).__init__(uh) - def call_alter_db(self, func, conn): + def _call_alter_db(self, func, conn): ''' Call a database modification function with a db connection, turning off the automatic wrapping of the activity in @@ -1808,7 +1808,7 @@ class UnsafeUploadEngine(DBConnector): ''' super(UnsafeUploadEngine, self).__init__(uh) - def call_alter_db(self, func, conn): + def _call_alter_db(self, func, conn): ''' Call a database modification function with a connection. -- 2.34.1